package com.hao.tool.extra.cloud.module.ali.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description
 *
 * @author RuiHaoZ on CMHK.jx
 * @date 2020-07-26 17:44
 */
@Getter
@Setter
@Accessors(chain = true)
public class AlCosDTO {

    private String cosPrefixUrl;

    private String bucketName;

    public AlCosDTO(String bucketName, String cosPrefixUrl) {
        this.bucketName = bucketName;
        this.cosPrefixUrl = cosPrefixUrl;
    }

    public AlCosDTO() {
        this.bucketName = "cmhk";
        this.cosPrefixUrl = "http://i.lymtr.cn/";
    }
}
